# 定位信息维护在此处，维护结构由外到内为：页面名称--页面下元素名称--元素的定位方式+参数
common = {
    '公共页面': {
        '立即办理': ['xpath', '//*[contains(text(),"立即办理")]'],
        '下一步': ['xpath', '//*[contains(text(),"下一步")]'],
        '立即完善': ['xpath', '//*[contains(text(),"立即完善")]'],
        '完成': ['xpath', '//*[contains(text(),"完成")]'],
        '确定': ['xpath', '//*[contains(text(),"确定")]'],
        '确 定': ['xpath', '//*[contains(text(),"确 定")]'],
        '确认': ['xpath', '//*[contains(text(),"确认")]'],
        '已满足': ['xpath', '//*[contains(text(),"已满足")]'],
        '上传人像面': ['xpath', '//*[@id="inp-0"]'],
        '上传国徽面': ['id', 'inp-1'],
        '上传头像面': ['xpath', '//*[@id="inp-0"]'],
        '开始录制': ['id', 'uploadVideo'],
        '是': ['xpath', '//*[contains(text(),"是")]'],
        '立即开通': ['xpath', '//*[contains(text(),"立即开通")]'],
        '提交': ['xpath', '//*[contains(text(),"提交")]'],
        '个人户': ['xpath', '//*[contains(text(),"个人户")]'],
        '您符合名单办理要求': ['xpath', '//*[contains(text(),"您符合名单办理要求")]'],
        "一人多户同步提示弹窗": ["xpath", "//*[contains(text(),'此次修改的信息将同步到您在我司开立的其他账户。')]"],
        '一人多户弹框确定按钮': ['xpath', '//button[@class="van-button van-button--default van-button--large van-dialog__confirm"]'],
    },
    "签署协议": {
        '点击签署': ['xpath', '//*[contains(text(),"点击签署")]'],
        '本人已知悉': ['xpath', "//*[contains(text(),'确认已阅读且完全清楚理解，并同意遵守/签署')]"],
        '本人已知悉_old': ['xpath', "//*[contains(text(),'本人已知悉并同意签署')]"],
        '本人已充分阅读': ['xpath', "//*[contains(text(),'本人已充分阅读')]"],
        '我已阅读并同意': ["xpath", "//span[contains(text(),'我已阅读并同意')]"],
        '确认/确定': ['xpath', '//*[contains(text(),"本人已")]/ancestor-or-self::*[3]/following-sibling::*'],
    },
    "客户签名": {
        '选择签名': ["xpath", "//span[contains(text(),'选择签名')]"],
        '客户签名': ["xpath", "//*[@class ='img-box']"],
    },
    '手机号更新': {
        '获取验证码': ['xpath', "//*[contains(text(),'获取验证码')]"],
        '输入验证码': ['xpath', "//input[@placeholder='请输入短信验证码']"],
        '输入新手机号': ['xpath', "//input[@placeholder='请输入新手机号']"],
        '原手机号无法使用': ['xpath', "//*[contains(text(),'原手机号不用了？')]"],
    },
    '引导页': {
        '业务名称': ['xpath', "//*[@class='header-info']"],
        '业务描述': ['xpath', "//*[@class='introduce-info']"],
    },

    '业务准入条件页': {
        '业务条件描述': ['xpath', "//*[@class='info-header']"],
        '已满足': ['xpath', '//*[contains(text(),"已满足")]'],
    },

    '客户资料完整性校验页': {
    },

    'ocr结果识别页': {
        '证件地址': ['xpath', '//*[@placeholder="证件地址"]'],
    },

    '业务提交结果页': {
        '结果信息': ['xpath', '//div[@class="result-info"]'],
    }
}
